projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc852c
)
(recover-session-finish): Catch erorr in recover-file.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 28 Aug 1995 20:13:56 +0000
(20:13 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 28 Aug 1995 20:13:56 +0000
(20:13 +0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 64f33c58e2fe56aa384d0e2afc28f058ee096512..73b9085ddf97d0245aa39c0562207df7a6fe5b3d 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-2178,7
+2178,11
@@
This command is used in the special Dired buffer created by
;; or is empty if the buffer was not visiting a file.
;; The second line is the auto-save file name.
(map-y-or-n-p "Recover %s? "
- (lambda (file) (save-excursion (recover-file file)))
+ (lambda (file)
+ (condition-case nil
+ (save-excursion (recover-file file))
+ (error
+ "Failed to recover `%s'" file)))
(lambda ()
(if (eobp)
nil